<div class="top-action">
	<ul class="links">
		<li class="record-list"><a href="configurations-list.php">List Configurations</a></li>
	</ul>
</div>
<div class="form-wrap">
	<form id="configurations-edit-form" name="configurations-edit-form" method="post" action="configurations-edit.php" enctype="multipart/form-data">
  <table class="data-editor">
	<tr class="{cycle values='A,B'}">
		<td class="attribute">Name: <span class="required">*</span></td>
		<td>{$configurations.define_name|utf8}</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Value: <span class="required">*</span></td>
		<td>
			<input type="text" name="configurations[define_value]" value="{$configurations.define_value|utf8}" class="input" id="configurations-define_value" />
			<span class="form-hints">Defined value that it holds</span>		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Sample: <span class="required">*</span></td>
		<td>{$configurations.define_sample|utf8}</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Handler: <span class="required">*</span></td>
		<td>{$configurations.define_handler|utf8}</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Comments: <span class="required">*</span></td>
		<td>{$configurations.define_comments|utf8}</td>
	</tr>


    <tr>
      <td class="attribute">&nbsp;</td>
      <td>
		<input type="text" name="email" value="" class="vanish" />
		<input type="text" name="is_spam" value="" class="vanish" />
		<!--{* 100% sure, only spammers fill these fields, Leave blank. *}-->
		
		<input type="hidden" name="define_id" value="{$configurations.define_id}" />
		
		<!-- This is different than system's protection code. This is related to particular ID. -->
		<input type="hidden" name="protection_code" value="{$configurations.code}" />
		<input type="hidden" name="edit-action" value="Edit Configurations" />
		<input type="submit" name="submit-button" class="submit" value="Save Changes" />
		<a href="{url::last_page('configurations-list.php')}" class="button-cancel">Cancel</a>	  </td>
    </tr>
  </table>
</form>
</div>
<!-- End of administrators Edit -->

<!-- Validation -->
<script type="text/javascript" src="js/validator/gen_validatorv31.js"></script>
{js src='validators/configurations/edit.js' validator=true}

<!-- Rich Editor: Remove if not necessary. Or, use different .js files -->
<script type="text/javascript" src="js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="js/tinymce-textareas.js"></script>

<!-- End of configurations Edit -->